# 导包
import json

# 基础地址
BASE_URL = "http://kdtx-test.itheima.net"


# 读取json文件
# [{},{},{}] ==> [(),(),()]
def read_json(file_name):
    test_data = []
    with open(file_name, "r", encoding="utf-8") as f:
        json_data = json.load(f)
        for i in json_data:
            test_data.append(tuple(i.values()))
    return test_data


if __name__ == '__main__':
    test_data = read_json("login.json")
    print(test_data)